﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IndoReputation.Models.BusinessObject
{
    public class CommonEntity
    {
        /// <summary>
        /// Default Contructor
        /// </summary>
        public CommonEntity()
        { }

        public readonly string FIELD_ALL = "ALL";
        public int No
        {
            get;
            set;
        }

        /// <summary>
        /// Author: Nguyen Duc Thanh Tung
        /// Created on: 12/10/2011  3:23 PM
        /// Todo: Remove space in string to avoid error in full text search
        /// </summary>
        /// <param name="strConvert">The STR convert.</param>
        /// <returns></returns>
        public static string RemoveSpace(string strConvert)
        {
            return strConvert.Trim().Replace(" ", "+");
        }
    }
}